﻿namespace HeroldIT.Dnn.Modules.News.SqlProvider
{
    public partial class NewsEntryDetail
    {
        public void Fill(NewsEntryDetail modified)
        {
            this.DetailImageCaption = modified.DetailImageCaption;
            this.DetailImageUrl = modified.DetailImageUrl;
            this.DetailText = modified.DetailText;
            this.DetailUrl = modified.DetailUrl;
            this.Headline = modified.Headline;
            this.IsDefaultLocale = modified.IsDefaultLocale;
            this.IsHidden = modified.IsHidden;
            this.Locale = modified.Locale;
            this.Source = modified.Source;
            this.Subline = modified.Subline;
            this.TeaserImageCaption = modified.TeaserImageCaption;
            this.TeaserImageUrl = modified.TeaserImageUrl;
            this.TeaserText = modified.TeaserText;
            this.UseDetailImageForTeaser = modified.UseDetailImageForTeaser;
            this.TeaserImageUrl2 = modified.TeaserImageUrl2;
            this.TeaserImageCaption2 = modified.TeaserImageCaption2;
            this.DetailImageUrl2 = modified.DetailImageUrl2;
            this.DetailImageCaption2 = modified.DetailImageCaption2;
            this.TeaserImageUrl3 = modified.TeaserImageUrl3;
            this.TeaserImageCaption3 = modified.TeaserImageCaption3;
            this.DetailImageUrl3 = modified.DetailImageUrl3;
            this.DetailImageCaption3 = modified.DetailImageCaption3;
            this.TeaserImageUrl4 = modified.TeaserImageUrl4;
            this.TeaserImageCaption4 = modified.TeaserImageCaption4;
            this.DetailImageUrl4 = modified.DetailImageUrl4;
            this.DetailImageCaption4 = modified.DetailImageCaption4;
        }
    }
}
